'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	console.log(event);
	const res = db.collection('register').where({
		_id:event.id
	}).get()
	return res
};
